//
//  WBSearchButton.swift
//  WeiBo
//
//  Created by chenguanglei on 16/11/25.
//  Copyright © 2016年 itheima. All rights reserved.
//

import UIKit

class WBSearchButton: UIButton {

    
    class func getInset() -> WBSearchButton {
    
        return Bundle.main.loadNibNamed("WBSearchButton", owner: nil, options: nil)?.first as! WBSearchButton
    
    }
    
    override func awakeFromNib() {
        
        imageEdgeInsets = UIEdgeInsetsMake(0, -270, 0, 0)
        titleEdgeInsets = UIEdgeInsetsMake(0, -270, 0, 0)
        
    }
    
    

}
